<%@page import="databank.DataBankVo"%>
<%@page import="databank.DataBank"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Modify_Result.jsp</title>
<style>
	@import url(http://fonts.googleapis.com/earlyaccess/nanumgothic.css);
</style>
<style>
#databank_moidfy_result_body{
padding-top: 50px;
width: 300px;
margin: 0 auto;
text-align: center;
font-family: 'Nanum Gothic', sans-serif;
}
#upload_button{
width: 70px;
height: 30px;

font-size: 250x;
border: 2px dashed pink;
border-radius: 10px;
}
</style>
<script>
function btn_list(){
	location.href="index2.jsp?inc_center=./databank/list.jsp";
}
</script>
</head>
<body>
<jsp:useBean id="bankVo" class="databank.DataBankVo"/>
<jsp:setProperty property="*" name="bankVo"/>

<%
bankVo.setRequest(request); // MultipartRequest 객체를 만들기 위해서 필요한거임.
DataBank bank = new DataBank();
bank.setVo(bankVo);
%>


<div id="databank_moidfy_result_body">
	<h1>자료 수정결과</h1><br/>
	<%
	if(bank.modify()){
		out.print("정상적으로 수정되었습니다.");
	}else{
		out.print("경고 : 작업중 오류가 발생했습니다.");
	}
	%>
	<br/><br/>
	<input type="button" value="목록" id="upload_button" onclick="btn_list()">
</div>

</body>
</html>